package com.pes.arcww.dao;

import java.util.Collection;
import java.util.List;
import com.pes.arcww.form.Items;
import com.pes.arcww.form.Questions;
import com.pes.arcww.form.Topics;

public interface QuestionsDAO {
	public void addQuestion(Questions question);
	public void addItem(Integer que_id, Items item);
	public void addTopic(Integer que_id, Topics topic);
	public Collection<Questions> listQuestions(String filter, String value);
	public Collection<Questions> listQuestionsByProfiles(String where, Integer level);
	public List<Items> listItems(Integer id);
	public void removeQuestion(Integer id);
	public void removeItem(Integer que_id, Integer ite_id);
	public void removeItem(Integer ite_id);
	public void updateQuestion(Questions question);
	public void updateItem(Integer que_id, Items item);
	public Questions getQuestion(Integer id);
	public Items getItem(Integer id);
}
